import request from '../../utils/request';

export const shopItemCatPage = query => {
    return request({
        url: '/shopItemCat/page',
        method: 'get',
        params: query
    });
};

export const shopItemCatListSelect = query => {
    return request({
        url: '/shopItemCat/listSelect',
        method: 'get',
        params: query
    });
};

export const shopItemCatSave = data => {
    return request({
        url: '/shopItemCat/save',
        method: 'post',
        data: data
    });
};

export const shopItemCatUpdate = data => {
    return request({
        url: '/shopItemCat/update',
        method: 'put',
        data: data
    });
};

export const shopItemCatDelete = data => {
    return request({
        url: '/shopItemCat/delete/' + data,
        method: 'delete'
    });
};